import yaml


class Config:
    files_dir: str

    def __init__(self, config_file):
        for key, value in config_file.items():
            setattr(self, key, value)


cfg = yaml.load(open('config.yaml', 'r', encoding='utf-8'), Loader=yaml.FullLoader)

cfg = Config(cfg)

# print(cfg.files_dir)
